package com.geek.javase.ch02.test4;

/*
 *@author wangpeng
 *2025/10/10 14:00
 *@description TODO
 */

public class ClassMain {
    public static void main(String[] args) {
        // 创建员工对象
        Employee employee = new Employee("普通员工", "北京市朝阳区", 5000);
        employee.show();
        System.out.println("-------------------");

        // 创建董事对象
        Director director = new Director("张董事", "上海市浦东区", 15000, 2000);
        director.show();
        System.out.println("-------------------");

        // 创建经理对象
        Manager manager = new Manager("李经理", "广州市天河区", 10000, "技术部");
        manager.show();
    }
}
